package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.TicketSellDetail;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TicketSellDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TicketSellDetail record);

    TicketSellDetail selectByPrimaryKey(Long id);

    List<TicketSellDetail> selectAll();

    int updateByPrimaryKey(TicketSellDetail record);

    List<TicketSellDetail> selectTicketDetailsByUserId(@Param("userId") Long userId, @Param("qo") QueryObject qo);
}